﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Persistence;

namespace Controladores
{
    public class SesionControlador
    {
        #region Métodos

        /// <summary>
        /// Crea la sesión actual de nHibernate..
        /// </summary>
        public static void ObtenerSesion()
        {
            try
            {
                NHibernateHttpModule.CurrentSession();
            }
            catch (Exception)
            {
                throw;
            }
        }

        #endregion
    }
}
